﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._211217
{
    /// <summary>
    ///  添加自定义事件类型
    /// </summary>
    public class InputMemoType
    {
        /// <summary>
        ///  用户编码
        /// </summary>
        [Required(ErrorMessage = "用户编码必传！")]
        public string userID { get; set; }
        /// <summary>
        ///  事件类型
        /// </summary>
        [Required(ErrorMessage = "事件类型必传！")]
        public string memoType { get; set; }
    }
    /// <summary>
    ///  添加自定义事件类型
    /// </summary>
    public class InputMemoTypeList
    {
        /// <summary>
        ///  用户编码
        /// </summary>
        [Required(ErrorMessage = "用户编码必传！")]
        public string userID { get; set; }
        /// <summary>
        ///  返回值类型：【-1=全部；0=返回公用事件类型（userID为空）；1=仅返回用户自定义事件类型】
        /// </summary>
        [Required]
        public int type { get; set; }
    }
}